package model

import (
	"github.com/wailsapp/wails"
)

type Model struct {
	*wails.Runtime
	log *wails.CustomLogger
}

func NewModel() *Model {
	m := &Model{}
	return m
}

func (r *Model) WailsInit(runtime *wails.Runtime) error {
	r.Runtime = runtime
	r.log = r.Log.New("Model")
	return nil
}

func (r *Model) Hello() string {
	return "Hello"
}
